<?php

class CommonControl extends Control {

    public function __construct() {
        parent::__construct();
        if (!isset($_SESSION['adminname'])) {
            $this->success('请先登陆', __ROOT__ . '?c=Login');
        }
    }

}
